package deployr.cli;

public class ReadHeartbeatResponder extends Responder {
	@Override
	protected boolean shouldRespond(String method, String requestURI) {
		return method.equals("GET") && requestURI.matches(".*/heartbeat");
	}

	@Override
	protected Result respondTo(String method, String requestURI, Input input) {
		return new Result(200, "ok");
	}
}
